import requests

res = requests.get('url')

print(res.content)  # 获取到文件内容
